package org.wlc.service;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Service;

/**
 * @author 王立朝
 * @description
 * @date 2021-11-20 16:58:42
 */
@Service
public class TypeService implements InitializingBean {

    public TypeService(){
        System.out.println("TypeService Bean 初始化。。。");
    }
    public void initMethod(){
        System.out.println("TypeService init ...");
    }


    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("初始化方法。。。");
    }

    public void testService(){
        System.out.println("hello");
    }

    public void destroy(){
        System.out.println("销毁。。。。。。");
    }
}
